/*
 * @Description:
 * @Version: 2.0
 * @Autor: wiz
 * @Date: 2024-07-16 21:12:16
 * @LastEditors: swc
 * @LastEditTime: 2024-08-24 11:15:15
 */
import Vue from 'vue';
/* import {} from '@/types' */
/*
 * props
list: Array<N_oContextMenu.I_menuItem>; //必需
 callback: Function 非必需
 displayPosition: N_oContextMenu.I_showPosition; 非必需
 width: number 非必需
 
 */
export namespace N_oContextMenu {
  export interface I_menuItem {
    name: string;
    title: string;
    icon?: string;
    isShow?: boolean; // 默认显示
    disabled?: boolean;
    children?: I_menuItem[];
  }
  export interface I_showPosition {
    clientX: number;
    clientY: number;
  }
  export interface oContextMenu extends Vue {}
}
